﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using STMS.DAL;

namespace STMS.BLL
{
    public class UserBLL
    {

        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="userPwd"></param>
        /// <returns></returns>
        public bool LoginSystem(string userName, string userPwd)
        {
            UserDAL userDAL = new UserDAL();
            if(userDAL.LoginSystem(userName, userPwd) > 0)
            {
                return true;
            }else
            {
                return false;
            }
        }
    }
}
